import 'package:aweb5/util/NaviUtil.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class SucaiPubWidget{
  static Widget appBarBack(BuildContext context,EdgeInsets margin){
    return GestureDetector(

      child: Container(
        alignment: Alignment.centerLeft,
        margin: margin,
        width: ScreenUtil().setWidth(39),
        height: ScreenUtil().setHeight(39),
        child: Image.asset(
          "assets/assist/back.png",
          width: ScreenUtil().setWidth(24),
          height: ScreenUtil().setHeight(24),
        ),
      ),
      onTap: (){
        NaviUtil.pop(context);
      },
    );

  }
}